package org.yelongframework.zip;

import java.io.IOException;

import org.yelongframework.lang.Nullable;

/**
 * 压缩文件项数据供应商
 * 
 * @since 1.0.0
 */
@FunctionalInterface
public interface ZipFileEntryDataSupplier {

	/**
	 * @return 压缩文件项的数据流
	 * @throws IOException 流异常
	 */
	@Nullable
	byte[] get() throws IOException;

}
